package com.studyadmin.service;

import com.studyadmin.config.QueryPageParam;
import com.studyadmin.entity.Chapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.studyadmin.entity.ChapterContent;
import com.studyadmin.util.JsonUtil;

import java.util.Queue;

/**
 * <p>
 * 章节表 服务类
 * </p>
 *
 * @author lyl
 * @since 2023-03-19
 */
public interface ChapterService extends IService<Chapter> {
   JsonUtil chByCouIdSer(String CourseId);

   JsonUtil chapterContentSer(String chaId);
   JsonUtil addChapterSer(Chapter c);
   JsonUtil pageChapterSer(QueryPageParam query);
   JsonUtil ChapterUpdateSer(ChapterContent query);
   JsonUtil delChapterSer(Chapter chapter);

}
